function commitArticle() {
    $.post("/article/save", {
        'title': $('#title').val(),
        'content': myEditor.getData()
    }, (result, error) => {
        $(location).attr('href', result.data);
    });
}
